#!/usr/bin/env python
#coding=utf-8 

# 执行os.system

import os
result = os.system('ls')
print result

f = os.popen('uname -a')
data = f.readline()
f.close()
print data,

from subprocess import call
res = call(('cat', '/etc'))
print res